<link href="__PUBLIC__/css/page.css" rel="stylesheet"  type="text/css" />
<style type="text/css">
.text-c td img {
	width: 48px;
	height:48px;
}</style>
<div class="pd-20">
    <if condition="$users eq null ">
        <div class="row">没有用户</div>
        <else />
        <div class="mt-20">
        	
            <table class="table table-border table-bordered table-bg table-sort table-striped">
                <thead>
                    <tr class="text-c">
                        <th width="30">昵称</th>
                        <th width="20">菜篮子</th>
                        <th width="20">套餐金额</th>
                        <th width="50">头像</th>
                        <th width="50">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <volist name="users" id="user" key="k">
                        <tr class="text-c">
                            <td>{$user.nickname}</td>
                            <td>{$user.basketid}</td>
                            <td>{$user.discount_money}</td>
                            <td class="headimg"><img src="{$user.headimgurl}"></td>
                            <td>
                            	<a class="btn btn-success" href='{:U("Admin/Buyer/delGrpUser", array("basketid" => $user["basketid"], "gid" => $gid))}'>删除</a>
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
        </div>
    </if>
    <div class="row cl dataTables_wrapper" id="upage">
        {$page}
    </div>
</div>
<script type="text/javascript" src="__PUBLIC__/lib/layer/layer.js"></script>
<script>
//用户-编辑
function showFood(title, url, id, w, h) {
    layer_show(title, url, w, h);
}

function change(obj) {
	window.location.href="/index.php?g=Admin&m=Order&a=showAll&state="+$(obj).val();
}

</script>
